package com.keith.brainmap.arrays;

import java.util.Arrays;

/**
 * @author chenli
 * @date 2021-05-31 上午 11:10
 **/
public class BinarySearchSort {
    public static void main(String[] args) {
        Integer[] arr = {1, 2, 3, 4, 5};
        int index = Arrays.binarySearch(arr, 3);
        System.out.println(index);
    }
}
